<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
*/
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'list';
cfc('core')->checklogin();
$return=array();
$return['status']=array(
	'0'=>'待支付',
	'1'=>'已支付'
);
if($_RQ['op']=='list'){
	
	$params=array('mid'=>$_SESSION['uid'],'uniacid'=>$_SESSION['uniacid']);
	$page=$_RQ['page']?$_RQ['page']:1;
	$limit=array($page,10);
	$list=pdo_getslice('core_recharge',$params,$limit,$total,array('mid','fee','createtime','status','pay_type'),'','id');
	if($list){
		foreach($list as &$item){
			$item['createtime']=date('20y/m/d H:i:s',$item['createtime']);
		}
	}
	$return['list']=$list;
	exi($return);
}